import time
from mycelery.main import app

@app.task
def send_sms(mobile):
    """发送短信"""
    print(f"向手机号:{mobile} 发送短信成功!")
    time.sleep(5)
    return "Send Sms OK"